Clean up server script, clear out unused variables