made tweaks for everything to work on dedicated server.