added saveImage to workspaceFunctions