Fork of https://code.google.com/p/maratis/ with a few minor tweaks