Added CLI flag to reset block script