addition of test and prod Loc and fixed sloc bug