Propagating changes from code.google.com(https://codereview.appspot.com/13536043/).
This is a refactoring to support the addition of another script
needed in the code.google.com repository but not needed in i18n.