add shell script to optimize