Function to edit modules while they are off