added .pl file support