Named define works correctly in dist now
Updated index file