Initial implementation of commodity scripts
Fix some market inconsistencies