Web script and Mac automation scripts for preparing images