tries to change script permissions