add basic support for defining different locations