Debugging, and updated needed_files