Just confirmed script is working when making Mahogany planks.
Edit: Changed the way log withdrawal works to use item ids, was unable to confirm this was causing the user's issue but another scripter suggested to make this change for mirror mode compatibility. Change will be live in v3.5 which I just pushed.