fixed line endings, hopefully, and added a safe catch around import ipdb