fix how I'm identify if blocks are part of scripts