The solution I would prefer is patching nautilus to have a configuration area for scripts as mentioned above, your solution can't be integrated into a package unfortunately, because packages can't contain data for user home directories.
The solution I would prefer is patching nautilus to have a configuration area for scripts as mentioned above, your solution can't be integrated into a package unfortunately, because packages can't contain data for user home directories.