Add publish token checking
Fix cobaltHome path by adding $USER