-added support for scaled atlas