Code:
ImageToolbar !Script side
ImageSwitchbar !Script top


Also, the code in the mrc file should set the image on the toolbar and switchbar (using /background), not return the path to it.