Create masonry script