Restore code to old configuration