Switch APPLICATION_PORT to PORT