Fixes url and adds option for date