Fix service check init script