added more options to the sga wrapper