Using enviroment variable for private_pub