success messages added, apeend to file instead of rewriting bug fix