Modified modcheck so it runs on my ubuntu too