Add function to analyse a given environment