Made the script prettier with perltidy.