Added configurable depth option and an uninstall file to delete that var when the module is uninstalled.