refactored runOptions for the app

the before-tests did not run after the changes introduced in 3d9f0935628b3e816d47e87e09a663c7888e7fb2