minor bug fixes (missing dir creation + init.d status function)