added setup rotate images