Fix lines for Envfile, add stdout for fail commands