adding exit option with -e command