use command line args to get rid of hardcoded paths