Finally got the app to work.