put the credential file in the right place