change run(app) signature to run(app, options)