Added scale feature and changed log format