Normalize command-line arguments before processing
Split DECLARE into GLOBAL and LOCAL