manageSnapshots.sh -r flag added

New flag -r to control the recursion depth