Improved init script for redhat