Set new compilation procedure, working onclick