NEW spil api loader script