script generation from environment