NF: Edited behavioural file reading
NF: Added separated script file