Added ability to scale locally