Changed permissions on check.sh