Make sqlDir a setting