fixed overwritting bug
file gets now deleted first, before coping when it already exists
changed Ylim of graphs so the text stays in the plot