adjusted delivery redirects
fixed delivery_token
fixed api stuff