script now checks for existing sources to avoid repeated downloads in subsequent executions
updated dependencies
added extra lines for installing package dependencies
removed logging-to-file (for now at least)