Pre and Post Domain Modification Scripts where to save them?

so a script that is a part of this Nginx on webmin in front of virtualmin apache vhosts should not be in /usr/local/bin/ but in a to create /anyother/therearenorules/folder/. Is that correct?