improved documentation and added retna support