added server var SERVER_NAME to be filled correctly