revert script block in preperation for merge