chained the scripts together