build changed to work with printplugin