initial sprite script and some stuff