added duplicate masterIdFlag cleaner script