Added start and end date to php script