added puppet run functionality