fixed minor mistakes in cf script