Moved all before install commands into script