Added m_deploy function