get package name dynamically