Fixed the saving of paths, added overwrite as a variable and moved around pop-ups
Added additional changes for extension