updated for cfg path
added type and support to story