changed the logic yet again, added check if startup config has not been saved since last running config change