Adapting install scriptsfor master