moved config block back out of form