Hey Everybody! Haven't asked any questions lately - So I've got a good one

Im trying to add a postprocessing shader to my game, but i just can't get it to work..
I've created the .fx file - and added the proper script to my main script.
then the rest I tried to fill in... So i added this to my main script:
function main(){
ScrachedFilm_set_Value(0.01);
...
}
and that didnt work. So Im really not to sure what to do from here.
Any thoughts?
(Here is the link to the shader)