updates to get dist working