improve contract configuration commands