added attach module integration