changed /ui to /custom & added comments to document a little better