First level analysis from bash working, first version