Fix wrong permissions + set the executable declaration