Fix ERB function names & manifest syntax