[Changed] Cleaned up and fixed creating object from interface name in script file