CLSN-627 replace $location with $cslocation