main script small emprovements