updated cents script to correct call to old logging function