fixed scripts for -e