added url regex parse and stuff