fix to scf script