changed SC script