Upload functional code