updated script for github