Collapsible Gate Automation