Make all paths relative to script directory.
Merge branch 'master' into core