This script will probably need some documentation: parameters, what to expect..