minor changes to fmarks script