clean up vars + postinstall