Added status return code to metadata, now reloads directory at every run so that changes can be made without restarting