hack-y proof of concept for execution of bash functions based on declared dependencies