Make origin location configurable