Try moving the code to make the command path absolute to a more
appropriate place.