added abundance plots output
code clean-up