Added conditional branch to the saving method in the Module file. This allows it to handle either saving the page to a specific directory, or saving it to the default directory.