Added app URL with test/prod logic.