Shell script etc/env support, run command + small fixes