added some debugging messages to the gaussian script