repair program command with correct references to files