made the salt configurable