fail on error and use correct modules.txt