Add -d variables_order=ES to shell scripts.

Fixes #950

This needs windows test and how can we fix this for IDEs like netbeans?