changes to sprites script