change restore schema
pretty upstart script
minor fix