added code for dual monitors and created office script