Rearranged so that ember build runs first