updated check_root and debian target