adds resource man, fixes scale bug.