add attributes and change file header to use commit hash