updated credential file format and miscellaneous updates