added package installation code