Add ugly trick to differentiate local / remote