#!/bin/bash

function check_okay {
	if [ $? -ne 0 ]
	then
		exit 1
	fi
}

echo $1
cp photos/$1 restart_photo
check_okay
date;./star_40M_z1m4_to_cc;date
