reworked parser,added a working ping script