fix bug that do not join the between scripts.