improved support for other datbase providers
fixed scaffold projection generation