script before puppet run