buy script