@gloomyandy Renaming the deploy and retract subroutines solved my issue. Thank you for your help.