updating the oaepub script to be more concise