Move functions dealing with executables