updated script, and removed env github dep