Change logic to utilise Bundlers inbuilt deployment task and trigger. Changes config variables required for installation and reverts before closing