added pause
also some exec() changes like getenv(PATH) searching if no path is specified