better minimal config script