made script place independent