Also, add the function mp.get_script_directory() to let scripts know if they're loaded as a directory and where.