Added suggestions by pylint
Added exception handling to story scrubbing.