script to install core apps automatically