flexible scripts