Set proper mode on executables.