Created new functions to handle symlinking and macros