added some functions and options to Macros project.