IRC calculations for gaussian scripts