Moved key to env var and refactored amount.