Database runner script is now compatible under Windows/Cygwin
Fixed stored procedure