convert importDeck task to use promises