adds check if magento is installed