Move app configuration to Run functions