getting ready for logging script