Fixed script line lookup