changed paths to be relative to the main script so that it can be run from anywhere...