first pass at standalone loam exectuable