Added sprite compiling