accidently overwroteRevert "Still trying to get server loading to work -
problems with variables becoming undefined"

This reverts commit bd72d8eb1bc661554ea3c0e6fe5d2c5bd75f166e.