modified script part
idea...