updated license to reflect work from original author
Fix init system detection