passing array, added compile/run script