more tweaks to main and backup autonomous

code used at the DE states