Feature/context root

why not refactor those 3 lines into a common place such as alm sync base.