add logger
fix release script on darwin