Workarounds for scaling lambda functions