Fixed bug with A_Loop variables in functions; Updated resources.