Modified app configuration and handler