replacing jmod.(.*)% with $1% following Professors Baltazar recommendation. Blame him if we broke something. And notify Tim about the broken things, he will be glad