added pickling the credentials
switched around the credentials in the path exists