implement ready for async  - async can include scripts