removed icon
moved tempate to function to allow config access. added recursive delete