Post update and install scripts extended