Adding pelican-mode enable and disable functions