changed echo
version to creation off records in DB and off the pdf