rework frontend.functions and modify paths