continuing work on compile script