fixed start script and env var injection