Add fabric script which replaces the shell script. The old shell script is kept in case anyone wants to run it, but it will not be maintained any more

Some bug fixes to the rules