path related fixes to initialization scripts