updated code to check package name for development build