add newbasename param to format params