Off by one
checked index in script (is now +1 everywhere)