copy some stuff from emberfire until i switch
build