Added build image
Moved function