updated script support using block append head