Changed depends to conditional on use flag