added option to disable AS