Because unjar has been removed from 23, registering scripts has issue.
PIG-2745 addresses the issue of registering scripts with pig. But if the registered py script imports other modules then it does not work. Steps to reproduce the issue in https://issues.apache.org/jira/browse/PIG-2745?focusedCommentId=13396965&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13396965
PIG-2760 resources added with a relative path are added to the JobXXXX jar file under their absolute path