added sql modules support