added github arg. to a lot of functions