Add support for registering custom script files