script for easier adding portals to an array

as promised :)