Capturing exception thrown when file does not exist
Added generic init.d script