cleaned up replace template a bit
cleaned up a bit
storing original value
working on relad feature
reload now working/tested
cleaned up a bit