fix order of modules tools being check for