Added --check argument for command-line dependency checks