Added script-defined methods with capability of returning values. Also added else if statements. Fixed some scope errors, added && and ||, string concatenation, fixed arguments parsing.