fixed puppet_add script