Updated init to be smarter and use redhat init functions