intial aanalysys and working path handler