Try a script for the exit code.