Update main.gs

added request right methods