Fix scripts to accommodate Tizen 2.0 changes