reorganized robot auto actions. needs testing.