can't source script in a current directory
Quoting the source man page:
source filename [arguments]
....
If filename does not contain a slash, file names in PATH are used to find the directory containing file- name.
So... source
is trying to search your script.sh
in the folders contained in PATH
.
If you want to source a file in the current folder use
source ./script.sh