added consume script fix