Setting current_app