rename run.sh to optimize.sh