finished basic script, need to add asic and outputing