Added autocommit script.
Modified the packet for disconnecting.