better script handling
v0.1.8