automating the wprd adding process