update scripts and env file