Added some new changes. Command line input file support for py script.