debugging path problem with AMETHST.pl