add some control for knwoing if user is in install mode
clear cache at end process