Change ICAO to N Numbers script

I know there was a thread a little while ago asking about it but i got lost reading it. I am still new with raspberry pi and doing scrpits and codes. I am running flightawarepi and was wondering if there was a way to get the ICAO codes to change to N-numbers or even grab the flight number should it have one?

Thanks

Here is the thread with some stuff folks are working on:
http://discussions.flightaware.com/ads-b-flight-tracking-f21/n-number-icao-address-t36758.html