Importing required libraries using a try-except.

Now the script can be run both from a local repository or from Toolserver.
Also reverted default citation message to a more concise form.