Replace hardcoded base namespace with imported variable