Updated database script- added knockout etc