updated attributes to work with windows