refactor site variables