Fixes broken python mode and haskell indentation in SHM