some sanity checks, fixed system building script for new settings