remove -e from rewriting script