modifying init file so it will work on a redhat/centos system