reset Brick instance before executing a script