new bash script to control the options