Added -internal switch to find internal variables