Is M001pdf_script a variable name or the name of your script? If it's the name of your script then you need to call the EXEC command like this to make it work...

fscommand("exec", "M001pdf_script");