Removed set -x to get rid of ugly prints (set -x means 'print every command before it's executed')