Remove debugging code
Add in placeholder for any input data
Fixed date issues for searches