Fix log script

*Needs to be implemented on changes, user ,io, (etc.) actions