new changes

changed linking to work and fixed saving