added costume and default settings to give it more flexibility