sprite loader, loading script