Fixed github related functions
Updated script to push to Github correctly