added code for default installation and distribution making