added ability to run with absolute paths