Initial upload of Market script reworked.