changed first batch of scripts to use porg