removes offloaded images to store them locally
fixes potential bugs with harcoded paths