makes the percentage function works properly, the configuration of the password is only printed if the output is a file and other little changes