Merged fdr code with adjust program.