Added constructor method and added logic to not overwrite previously written properties
Trying to fix strange Git error