permissions fix for init script