Fix multiline scripts
Better exceptions