Added command-line option support for manual location setting.