fixed # to $ in script