This should enable scripts when right clicking on a folder or a file.
Create New File not showing in right click menu
open gedit with sudo gedit
when the blank document is open in gedit press "file" then "save as"
store the blank file in the /home/username/Template folder, save it as "Empty File"
Now Reboot to reload nautilus
This should enable "New Document" > "Empty file" when right clicking in folder/on desktop
I Hope my answer helped you out