Initial transformation from http://github/misheska/basebox-packer to new form