added red and green flags, restart arrows, load and save images