combining scripts into a programme