Added initial version of the script.