Fixed args for appending file. Added gm package.