improved the app::configure method