Configure the binstub

closes #340