removed hard coded arguments to package search function