Placed custom stuff in the corrent place, and fixed urltools to work for python3