Added enable_automatic_resize