add init script, fix type error
Merge pull request #1 from tmaffia/master

add init script, fix type error