Hi,
Thanks for your help. You're right what I thought but I didn't know how to check it.
Script looked for the keys in wrong directory. And script given by salva showed me what directory it should be. From some reason it looked files in directory /var/www/scripts/ not /var/www/scripts/new/ even if everything happens in /var/www/scripts/new and $ENV{HOME} is set to /var/www/scripts/new too. Weird.
Thank you for help again.
Regards,
Jarek