Added documentation, Fixed DB Script