refactored and fixed a typo
generalized executables