Removed bin_dir and lib_dir, they weren't used, and when would they be different?
New init.d script