Add initial self-invoking code