fixing unicorn init script
adding indexes for entries