Fixing the set action to redirect to the correct URL and storing location information with the create event.