Improved FME Server code