re-disabled erase in flash config
added magic info block, new memory segments for magic, config and script