made it so can run in dev mode and fixed image build