Basic script structure, command parsing