Created config, most of dropHead logic