Python script to add multiple directories