refactored lenvyx scripts to the minimum