added one more command line argument for working directory path