adjusted startup code to use the saved program settings if possible