added ability to regex replace argument line for executables