Add script to encode/add line numbers