added ability to run with arguments