Little refactoring about Executables