made changes for automation