I'm afraid scripters don't handle refunds since the script sales go towards OSBot, but the script will attempt to restock only if there are any missing items, such as hammer, saw, planks, or if it cannot find a bell-pull and 2 beds, it will also need rope and bolts of cloth, but if all requirements are already present it will not have to go to GE and any missing requirements should be printed in the logger (top right corner -> settings -> toggle logger)