add line endings and fix -m daemon on one script