Not making sense why it won't run on server