add check to make sure that path arg is getting passed in from cmd line