fixed a bug when AchemyApi class is instanced in another php command
Merge branch 'bugfix-argv'