Removed 'with' statement...doesn't work on Raspberry Pi running Python 3 for some strange reason...