major update, some clean up and added support for custom scripts for protocol emulation. fun :)