clean up options
set preparte_ami to executable