Modified for yaml 0.5 on 12.04