Add scripts for running interactively and by crab.