added SHP(TS) support by @katzsmile