take data path as command line argument