add some ebextension logic