Command processing now happens in script