script to add root files