Tested database scripts

Updates to now most current version