updated scaling stuff and physics stuff