Converted scripts to C# and added directory