-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+
+# Copyright (c) 2006-2007, 2014. The SimGrid Team.
+# All rights reserved.
+
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the license (GNU LGPL) which comes with this package.
+
use strict;
+use warnings;
+
#use Data::Dumper;
use XFig;
use POSIX;