further scripts and additions