Update for new phemera, also use scratch for base