Bringing over select code from the original automation gem and file wide replacement of 'automation' with 'octopolo'