added debug code around Procfile generation