added command line args
added env vars
fixed typo
removed unneeded arg
added configparser