Updated Database Script to actually run