added stuff to make release builds