got rid of unused imports and set DEBUG to False