Add functionality for automatic ratios, correct paths and better replacements