change server script permissions earlier