Add reconfigure to main