Add possibility to configure pre-launch script