Added @option recursive flag