completed implementation of configurable paths defined in main.php