Added some more debug statements to the baseline creating section and removed temp files left sometimes when ran on Ubuntu system