removed boxplot output file and small refactor