Adding mydebuild function.