Amy commonjs handler