add optimized option to script