added full vs. relative path option