creds kicked out to json file - allowing different branches