logger

fixed issue with logger script