Merge pull request #1 from OHI-Science/master

adding portable code