Re-adding the coin command fixing some bugs.