Added loggin to slides.py