added import opportunities function to cut out mysql from data pipeline