inlined small scripts