Change to append & open instead of just append