Add no sudo option to WP security checks and fix sudo option to use bash -c