Attempting to fix bytearray error on the server.
missed a couple global variables for the setup file.