WIP on ubuntu and generalizing some commons scripts