fixed scopes
more scope fixes
fixing scaling on the pngs