Blockmanager: Fixed scripts in blocks being executed