changed post_istall flags to arguments