Fixes requirements and DEBUG