Removed rendundant code
Made path_units optional (Better Yaml, PHP support)