Added check_debian function