Simplified flora code. Made the python more resistant to wavering readings