Replace on SCRIPT_FILENAME

By replacing on this rather than __FILE__, we have a full file path and
can actually exclude the current working folder