adding in custom changes to rapprentice