Using File::Basename / dirname so as to be able to call the script from 'anywhere'