made scripts in madx dir operational; avoided multiple implicit definition of L4T elements by using sub-sequances