updated static location and implimented the location for static root