moved stuff to preinit to keep cpw happy