Add preliminary gretl support