Added Working Loot Command. Bug fixes