moved agv checks and require into main, add semis, etc