Swap odd/even
added url processing