Fixes on post-install script