How to install and operate magic