updated check_requirements to work with multiple versions