Automate seems not working, switchving to seting parameters directly.