Corrected mistakes in sample init script
More corrections to sample init script