Fixed error in footScript