partially functional scripts, not really