Add some check in system version and existing tools and users
Fix the patch usage