Added a parameter for specifying a relative path for redirected output. Needed to put the *ignore_this* files in a different place.