Fix major issue with password change, initial export function