Parse script properly detects beginning of blocks.