Ensure configuration is prepared and variable expansions exectued before command execution