fixed deprecated functions in password storeage script and config