Fixing exec third parameter