Add logger messages to script