Added recursive flag when copying module folders