renamed functions to requires_package() and requires_commands()