Script to display where the inversion happens

Here is the small script