Small changes to the execution of tardef command