take source path as command line argument