Improve RLV init function