refine options.sh in auto