added package name replacement