Addition of Resource stored procedure