Fixed a strange bug with -e and -E not worikg as script flags