added convenient way to obtain the output from the gs module