this.appPath = this.options.appPath || this.appPath;
instead of lines 15 and 17