added bash scripts to speed up image mashing