Corrected the app-rb file and others to get correct operation of the app