fixed create_instance to point to the correct automation instance