initial autobuy script