add autoactivate script