Thrown together the already existing sql files, Fixed some minor errors in the files like wrong fieldnames. And of missing inputs.