Adds a new functions file and puts dbreport in there