unicorn init script fixes