simplying the dot creation script