added -e flag to bash