working options

settings now saved to outside file properly