Dalmirog corrections to the script (v2)