fixed permissions in deploy file