changed from check_libs to check_checkrestart