GM: Added return url argument

closes #20