add configuration for env and working dir