fix bug of rest-time, when some slaves exists
fix bug of scripts
some fix script
fix bug of first_train? check
transform_to_deremasu
transform to deremasu
re-add deremasu require