Updated flora to work similar to fauna.js