@elijahandrews worth factoring into the same sh function?