Added run_checks function into global bash scope