Changed order of bootstrap init.