Modifying github key generation code to allow for more use scenarios