remove .rs functions, use .rs script instead