Write first view script