Updated scripts to latest CM10.1 changes