fixed open script