Added arguments ability to open cv code.