Feature/scope from params

Please review @sebastianhoitz