Move from ruby_block to shell scrip template