fix for placing the hiera_config in the main and completed the pwd on config