add snap window scripts