Improved prepareMD and gpush
Improved prepareMD and gpush