Fixed up init script, and added logcheck