Added a block script, Could use some tuning but works pretty well.