move functionality to markuptool to deploy