working script

This reverts commit 294a6cea0076190d390f3d365f10ef3e6028f37f.