block script for supervisor