loading pills from json now works