basepage paths are now passed through method that appends cwd to relative paths and home directory to ~/ paths