Adds scope main