get pid for selected package
get pid for active package on start up.