fixed and tested  data url builder with user defined start