create script intelligently from installer conditions