Added support for command-line provided credentials instead of the hardcoded path in home directory.