Updating script variable encapsulating and whitespace.