Remove script parsing and stip content blocks when not using a layout