add recursive flag and better parsing

0.0.3

0.0.4