Added a fix to run the app from any directory for -schema option