commenting out all proxyprinttodiv calls as they are not server compatable.. also fixed syntax errors