Fix for Python 3. Still need to fix slumber