Working script with comments