Modified C script