Add null check
Make script prefix always "."
Run scripts from scripts