adds `-e` option to deref script