Implemented send packet script