How to call external code from Architect