added package install code