added -path as option and renamed limmit to limit