Add makeprg function for sql files