Made location an option to configure.

For #382