Working on cleaner code + both functions working + create script works fine
Almost everything done but all procedures.