JM-scripts library, using some of the new features