Added If-Statement For Dynamic Config Location