adding more code for add current and external locations