Made scale factor get set by variable at launch.