Added check_path to check paths to binarys and queue directory.