apparently dot sourcing psm1 doesn't work like I thought it did