Now rotates stairs by metadata

I forgot to mention that since the last commit logs are also rotates by
metadata.