added --recursive flag for clone command