self-aware script