make script executable
typo
also log output