fixing init script error

fixes #18