changed function name and NOEXEC variable