small adaptations in scripts