Add print statements to os commands