I think this handles origin directive...