Script for parsing disconnect