sprites script updated