Change reference to config and viewport to work.