add check.sh and random sudo command in the init_install function